<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: cy_stc_dma_crc_config_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structcy__stc__dma__crc__config__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">cy_stc_dma_crc_config_t Struct Reference<div class="ingroups"><a class="el" href="group__group__dma.html">DMA          (Direct Memory Access)</a> &raquo; <a class="el" href="group__group__dma__data__structures.html">Data Structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>This structure holds the initialization values for the CRC feature, only for CPUSS_ver2. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:acc5d2168ecef8a82b46614f861f0985c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__dma__crc__config__t.html#acc5d2168ecef8a82b46614f861f0985c">dataReverse</a></td></tr>
<tr class="memdesc:acc5d2168ecef8a82b46614f861f0985c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the bit order in which a data byte is processed (reversal is performed after XORing): 'false': Most significant bit (bit 1) first.  <a href="#acc5d2168ecef8a82b46614f861f0985c">More...</a><br /></td></tr>
<tr class="separator:acc5d2168ecef8a82b46614f861f0985c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a535983ece9a42520027b174e30bb3e36"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__dma__crc__config__t.html#a535983ece9a42520027b174e30bb3e36">dataXor</a></td></tr>
<tr class="memdesc:a535983ece9a42520027b174e30bb3e36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies a byte mask with which each data byte is XORed.  <a href="#a535983ece9a42520027b174e30bb3e36">More...</a><br /></td></tr>
<tr class="separator:a535983ece9a42520027b174e30bb3e36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6452331efad7d9e15ddb7c9c428d281"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__dma__crc__config__t.html#ad6452331efad7d9e15ddb7c9c428d281">reminderReverse</a></td></tr>
<tr class="memdesc:ad6452331efad7d9e15ddb7c9c428d281"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies whether the remainder is bit reversed (reversal is performed after XORing).  <a href="#ad6452331efad7d9e15ddb7c9c428d281">More...</a><br /></td></tr>
<tr class="separator:ad6452331efad7d9e15ddb7c9c428d281"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac37740a5c4c820e79eb673c7cf092b29"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__dma__crc__config__t.html#ac37740a5c4c820e79eb673c7cf092b29">reminderXor</a></td></tr>
<tr class="memdesc:ac37740a5c4c820e79eb673c7cf092b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies a mask with which the remainder is XORed.  <a href="#ac37740a5c4c820e79eb673c7cf092b29">More...</a><br /></td></tr>
<tr class="separator:ac37740a5c4c820e79eb673c7cf092b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84cf8dc8c5dc4635a7bbac59e1d13b23"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__dma__crc__config__t.html#a84cf8dc8c5dc4635a7bbac59e1d13b23">polynomial</a></td></tr>
<tr class="memdesc:a84cf8dc8c5dc4635a7bbac59e1d13b23"><td class="mdescLeft">&#160;</td><td class="mdescRight">CRC polynomial.  <a href="#a84cf8dc8c5dc4635a7bbac59e1d13b23">More...</a><br /></td></tr>
<tr class="separator:a84cf8dc8c5dc4635a7bbac59e1d13b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8cc4baa069f067285c9773ecc5102bc"><td class="memItemLeft" align="right" valign="top"><a id="ad8cc4baa069f067285c9773ecc5102bc"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__dma__crc__config__t.html#ad8cc4baa069f067285c9773ecc5102bc">lfsrInitVal</a></td></tr>
<tr class="memdesc:ad8cc4baa069f067285c9773ecc5102bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The initial value of the Linear Feedback Shift Register. <br /></td></tr>
<tr class="separator:ad8cc4baa069f067285c9773ecc5102bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="acc5d2168ecef8a82b46614f861f0985c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc5d2168ecef8a82b46614f861f0985c">&#9670;&nbsp;</a></span>dataReverse</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_dma_crc_config_t::dataReverse</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies the bit order in which a data byte is processed (reversal is performed after XORing): 'false': Most significant bit (bit 1) first. </p>
<p>'true': Least significant bit (bit 0) first. </p>

</div>
</div>
<a id="a535983ece9a42520027b174e30bb3e36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a535983ece9a42520027b174e30bb3e36">&#9670;&nbsp;</a></span>dataXor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_dma_crc_config_t::dataXor</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies a byte mask with which each data byte is XORed. </p>
<p>The XOR is performed before data reversal. </p>

</div>
</div>
<a id="ad6452331efad7d9e15ddb7c9c428d281"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6452331efad7d9e15ddb7c9c428d281">&#9670;&nbsp;</a></span>reminderReverse</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_dma_crc_config_t::reminderReverse</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies whether the remainder is bit reversed (reversal is performed after XORing). </p>
<p>Note: this parameter doesn't affect the CRC value stored into the dstAddress. The reversed value remains in the CRC_REM_RESULT register. </p>

</div>
</div>
<a id="ac37740a5c4c820e79eb673c7cf092b29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac37740a5c4c820e79eb673c7cf092b29">&#9670;&nbsp;</a></span>reminderXor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_dma_crc_config_t::reminderXor</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies a mask with which the remainder is XORed. </p>
<p>The XOR is performed before remainder reversal. Note: this parameter doesn't affect the CRC value stored into the dstAddress. The XORed value remains in the CRC_REM_RESULT register. </p>

</div>
</div>
<a id="a84cf8dc8c5dc4635a7bbac59e1d13b23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84cf8dc8c5dc4635a7bbac59e1d13b23">&#9670;&nbsp;</a></span>polynomial</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_dma_crc_config_t::polynomial</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CRC polynomial. </p>
<p>The polynomial is represented WITHOUT the high order bit (this bit is always assumed '1'). The polynomial should be aligned/shifted such that the more significant bits (bit 31 and down) contain the polynomial and the less significant bits (bit 0 and up) contain padding '0's. Some frequently used polynomials:</p><ul>
<li>CRC32: POLYNOMIAL is 0x04c11db7 (x^32 + x^26 + x^23 + x^22 + x^16 + x^12 + x^11 + x^10 + x^8 + x^7 + x^5 + x^4 + x^2 + x + 1).</li>
<li>CRC16: POLYNOMIAL is 0x80050000 (x^16 + x^15 + x^2 + 1, shifted by 16 bit positions).</li>
<li>CRC16 CCITT: POLYNOMIAL is 0x10210000 (x^16 + x^12 + x^5 + 1, shifted by 16 bit positions). </li>
</ul>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
